<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><?php $hd["list"]["c"]["total"]=0;if(isset($comment) && !empty($comment)):$_id_c=0;$_index_c=0;$lastc=min(1000,count($comment));
$hd["list"]["c"]["first"]=true;
$hd["list"]["c"]["last"]=false;
$_total_c=ceil($lastc/1);$hd["list"]["c"]["total"]=$_total_c;
$_data_c = array_slice($comment,0,$lastc);
if(count($_data_c)==0):echo "";
else:
foreach($_data_c as $key=>$c):
if(($_id_c)%1==0):$_id_c++;else:$_id_c++;continue;endif;
$hd["list"]["c"]["index"]=++$_index_c;
if($_index_c>=$_total_c):$hd["list"]["c"]["last"]=true;endif;?>

	<div class="bbd ml20 mr20 mt10 pb10 pl80 rel">
		<div class="abs l0"><a class="dib bdc"> 
			<?php if(!$c['pic']){?>
				<img src="http://localhost/obj/movier/Template/default/img/logo.png" alt="" />
			<?php  }else{ ?>
				<img src="http://localhost/obj/movier/<?php echo $c['pic'];?>" width="65" height="65" alt="" />
			<?php }?>
		</a></div>
		<div class="p5">
			<p class="gray p5"><a class="gray f12" href=""><?php echo $c['email'];?> [<?php echo $c['nickname'];?>]</a></p>
			<p class="p5 f14"><?php echo $c['content'];?></p>
			<p class="gray p5 f12"><?php echo hd_date($c['addtime'],'Y-m-d H:i:s');?></p>
		</div>
	</div>
<?php $hd["list"]["c"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
<div class="pageAjax page mt10"><?php echo $page;?></div>
